home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / RATMAN03.422 < prev    next >
Text File  |  1993-02-20  |  3KB  |  89 lines

  1. Fix for RATMAN03.MOD... RATMAN3F.MOD.. Please delete old one
  2. Rat Man #1 @6255
  3. Sun Feb 14 13:37:24 1993
  4. ┌───────────────────────────────────────────────────────────────────────┐
  5. │ Mod Name       : RATMAN3F.MOD                                         │
  6. │ Mod Author     : RAT MAN 1@6255 IceNet, 1@1 RATnet                    │
  7. │ Difficulty     : <YAWN>                                               │
  8. │ WWIV Version   : 4.22                                                 │
  9. │ Date           : Friday, February 12, 1993 9:12 PM                    │
  10. │ Files Affected : LILO.C                                               │
  11. │ Description    : Shows the City, State, and Country in the LASTON.TXT │
  12. │                  and USER.LOG last few callers logs. It actually      │
  13. │                  surprised me that it wasn't built into stock WWIV in │
  14. │                  version 4.22, with the extended info and all. This   │
  15. │                  is the fixed version. What the first version did     │
  16. │                  wrong is in the LASTON.TXT it would only show the    │
  17. │                  FROM: line for the last person on the list. The      │
  18. │                  USER.LOG worked fine though.                         │
  19. └───────────────────────────────────────────────────────────────────────┘
  20.  
  21. DISCLAIMER:
  22. If this modification should be applied and result in any
  23. undesired effects, as expresed in section 137826893568.472468248a
  24. of the rules governing MOD files for WWIV and other such lawyer
  25. technobabble, I will not be responsible.
  26.  
  27. 1. BACK UP SOURCE
  28.  
  29. 2. Load LILO.C
  30.  
  31. 3. <FIXED STEP> Change the following:
  32.  
  33.   sprintf(s,"%ld: %s %s %s   %s - %d",
  34.        status.callernum1,
  35.        nam(&thisuser,usernum),
  36.        times(),
  37.        date(),
  38.        curspeed,
  39.        thisuser.ontoday);
  40.  
  41.   sprintf(s2,"%sLASTON.TXT",syscfg.gfilesdir);
  42.   ss=get_file(s2,&len);
  43.  
  44.    To read as follows:
  45.  
  46.   sprintf(s,"5%ld: 2%s of %s, %s, %s 3- 1%s %s   7%s 3- 7%d",0
  47.        status.callernum1,
  48.        nam(&thisuser,usernum),
  49.        thisuser.city,
  50.        thisuser.state,
  51.        thisuser.country,
  52.        times(),
  53.        date(),
  54.        curspeed,
  55.        thisuser.ontoday);
  56.  
  57.   sprintf(s2,"%sLASTON.TXT",syscfg.gfilesdir);
  58.   ss=get_file(s2,&len);
  59.  
  60. NOTE: I changed this so that it will appear in color. You can change it to
  61.       use different colors, or colors 8 and 9, or take out the color
  62.       altogether, it won't matter. Same goes for the next step.
  63.  
  64. 4. <FIXED STEP> Change the following:
  65.  
  66.     sprintf(s,"%ld: %s   %s - %d\r\n",
  67.       status.callernum1,
  68.       nam(&thisuser,usernum),
  69.       curspeed,
  70.       thisuser.ontoday);
  71.     sprintf(s1,"%sUSER.LOG",syscfg.gfilesdir);
  72.  
  73.    To read as follows:
  74.  
  75.     sprintf(s,"5%ld: 2%s of %s, %s, %s 3- 1%s 3- 7%d\r\n",0
  76.       status.callernum1,
  77.       nam(&thisuser,usernum),
  78.       thisuser.city,
  79.       thisuser.state,
  80.       thisuser.country,
  81.       curspeed,
  82.       thisuser.ontoday);
  83.     sprintf(s1,"%sUSER.LOG",syscfg.gfilesdir);
  84.  
  85. 5. Recompile and enjoy thoroughly!
  86.  
  87. Call RAT LAND BBS - (612) 647-9530 - 14,400 BPS - Practical Peripherals
  88. PM14400FXSA - 250 MEGABYTES ONLINE STORAGE! IceNet 1@6255, RATnet 1@1
  89.